﻿<div class="pageHeader">
	<form onsubmit="return navTabSearch(this);" action="/?g=admin&m=system&a=url" method="post">
	<div class="searchBar">
		<table class="searchContent">
			<tr>
				<td>
					关键词：<input type="text" name="kwd" value="{$S_kwd}" />
				</td>
				<td>
					添加日期：<input type="text" name="addtime" class="date" readonly="true" value="{$S_adt}" />
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<!--
				<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
				-->
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="/?g=admin&m=news&a=add" target="navTab" title="添加新闻内容" width="400" height="240"><span>添加</span></a></li>
			<li><a class="delete" href="/?g=admin&m=news&a=save&t=del&id={id}" target="ajaxTodo" title="确定要删除吗?" warn="请至少选择一个新闻"><span>删除</span></a></li>
			<li><a class="edit" href="/?g=admin&m=news&a=edt&id={id}" title="编辑新闻内容" target="navTab" warn="请选择一个新闻"><span>修改</span></a></li>
			<li class="line">line</li>
			<!--<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>-->
		</ul>
	</div>
	<table class="table" width="100%" layoutH="138">
		<thead>
			<tr>
				<th align="center" width="30px"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="30px">序号</th>
                <th width="40px">定位ID</th>
                <th width="80px">备注</th>
                <th width="500px">原链接正则</th>
                <th width="180px">构造链接</th>
                <th width="300px">显示链接正则</th>
				<th width="300px">还原链接</th>
				<th align="center" width="60px">操作</th>
			</tr>
		</thead>
		<tbody>
			<foreach name="$G_Rule" item="key" key="i">
             <tr target="id" rel="{$key}">
			  <td><input name="ids" value="{$key}" type="checkbox"></td>
              <td>{$i}</td>
              <td>{$key}</td>
              <td>{$G_Rule(key)(0)}</td>
              <td>{$G_Rule(key)(1)}</td>
              <td>{$G_Rule(key)(2)}</td>
              <td>{$G_Rule(key)(3)}</td>
			  <td>{$G_Rule(key)(4)}</td>
              <td class="actions">
			   <span class="place"></span>
			   <a href='/?g=admin&m=news&a=edt&id={$key}' target="navTab" title="编辑新闻内容" class="btn_edt">编辑</a>
			   <a href='/?g=admin&m=news&a=save&t=del&id={$key}' target="ajaxTodo" title="删除新闻?" class="btn_del">删除</a>
			  </td>
             </tr>
             </foreach>
		</tbody>
	</table>
</div>